#define _CRT_SECURE_NO_WARNINGS
#include"SList.h"
void test1()
{
	STnode* plist = NULL;
	PushFront(&plist, 1);
	PushFront(&plist, 2);
	PushFront(&plist, 3);

	PushFront(&plist, 4);

	Print(plist);
	//PushBack(&plist, 4);
	//Print(plist);
	//PopFront(&plist);
	//Print(plist);
	//PopBack(&plist);
	//Print(plist);
	STnode* pos = Find(plist, 2);
	//Insert(&plist, pos, 3);
	//Print(plist);
	//InsertAfter(pos, 4);
	//Print(plist);
	//Erase(&plist, pos);
	EraseAfter(pos);
	Print(plist);
}
int main()
{
	test1();
}